package org.feuyeux.pattern.behavioral.strategy;

public class Execute {

  public void service(ICallback callback, int callTime) {
    for (int i = 0; i < callTime; i++) {
      String info = "processing " + i;
      callback.invoke(info);
    }
  }
}
